using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace YoYoMooc.StudentManagement.RazorPage.Pages
{
    public class IndexModel : PageModel
    {
        private readonly ILogger<IndexModel> _logger;

        public IndexModel(ILogger<IndexModel> logger)
        {
            _logger = logger;
        }

        public string Message { get; set; }

        /// <summary>
        /// Http Get
        /// </summary>
        public void OnGet()
        {
            Message = "hello world";
        }

        /// <summary>
        /// Http Post
        /// </summary>
        public void OnPost()
        {

        }
    }


}
